//
//  News.m
//  Crocodile
//
//  Created by CONG TRAN on 9/6/12.
//  Copyright (c) 2012 hust. All rights reserved.
//

#import "News.h"

@implementation News
@synthesize iD = _newsId;
@synthesize title = _newsTitle;
@synthesize imageUrl = _newsImageUrl;
@synthesize content = _newsContent;
@synthesize date = _newsDate;

-(id)initWithName: (int) newsId title:(NSString*) newsTitel imageUrl :(NSString *) newsImageUrl content :(NSString*) newsContent date:(NSString*) newsDate 
{
    _newsId = newsId;
    _newsTitle = newsTitel;
    _newsImageUrl = newsImageUrl;
    _newsContent = newsContent;
    _newsDate = newsDate;
    return self;
}

@end
